package personal.vivian.logic;

import personal.vivian.constants.OperationStatus;

import java.util.HashMap;
import java.util.Map;

public class DataContext {
    private DataManager dataManager;
    private Object target;
    private OperationStatus status;
    private Map<String,Object> params = new HashMap<>();
    public DataManager getDataManager() {
        return dataManager;
    }

    public void setDataManager(DataManager dataManager) {
        this.dataManager = dataManager;
    }

    public Object getTarget() {
        return target;
    }

    public void setTarget(Object target) {
        this.target = target;
    }

    public OperationStatus getStatus() {
        return status;
    }

    public void setStatus(OperationStatus status) {
        this.status = status;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
}
